package com.eascs.pay.form;

import java.math.BigDecimal;
import java.util.Date;

import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.NotEmpty;

@XmlRootElement
public class O2oRefundForm {
	
	private Date payDate;
	
	private String nodeCode; //当前节点的节点id
	
	private String id;

	/**
	 * 收款人
	 */
	@NotEmpty(message = "收款人不能为空")
	private String payeeName;

	/**
	 * 付款金额
	 */
	@NotNull(message = "付款金额不能为空")
	private BigDecimal payAmount;

	/**
	 * 收款账号
	 */
	@NotEmpty(message = "收款账号不能为空")
	private String collectionAccount;

	/**
	 * 收款 开户行
	 */
	@NotEmpty(message = "收款开户行不能为空")
	private String collectionBankName;

	/**
	 * 收款行地址
	 */
	@NotEmpty(message = "收款行地址不能为空")
	private String collectionBankAddress;

	/**
	 * 备用字段（备注）
	 */
	private String remark;

	/**
	 * 付款备注
	 */
	private String payRemark;
	
	/**
	 *付款类型
	 */

	private String payFkType;
	/**
	 *付款账号
	 */
	private String payFkAccount;
	/**
	 *单椐类型(FQ-分期，EA-接力，DC-本金代偿,LXDC-利息代偿)
	 */
	
	private String loanType;
	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPayeeName() {
		return payeeName;
	}

	public void setPayeeName(String payeeName) {
		this.payeeName = payeeName;
	}

	public BigDecimal getPayAmount() {
		return payAmount;
	}

	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}

	public String getCollectionAccount() {
		return collectionAccount;
	}

	public void setCollectionAccount(String collectionAccount) {
		this.collectionAccount = collectionAccount;
	}

	public String getCollectionBankName() {
		return collectionBankName;
	}

	public void setCollectionBankName(String collectionBankName) {
		this.collectionBankName = collectionBankName;
	}

	public String getCollectionBankAddress() {
		return collectionBankAddress;
	}

	public void setCollectionBankAddress(String collectionBankAddress) {
		this.collectionBankAddress = collectionBankAddress;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getPayRemark() {
		return payRemark;
	}

	public void setPayRemark(String payRemark) {
		this.payRemark = payRemark;
	}

	public String getNodeCode() {
		return nodeCode;
	}

	public void setNodeCode(String nodeCode) {
		this.nodeCode = nodeCode;
	}

	public Date getPayDate() {
		return payDate;
	}

	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}

	public String getPayFkType() {
		return payFkType;
	}

	public void setPayFkType(String payFkType) {
		this.payFkType = payFkType;
	}

	public String getPayFkAccount() {
		return payFkAccount;
	}

	public void setPayFkAccount(String payFkAccount) {
		this.payFkAccount = payFkAccount;
	}

	public String getLoanType() {
		return loanType;
	}

	public void setLoanType(String loanType) {
		this.loanType = loanType;
	}
	
}
